﻿<telerik:RadMenuItem x:Class="PortfolioModule.Views.PortfolioManagerMenuView"
                     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
                     xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
                     xmlns:helper="clr-namespace:Infrastructure.Helpers;assembly=Infrastructure"
                     mc:Ignorable="d" 
                     d:DesignHeight="300" d:DesignWidth="300"
                     xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                     Header="Hồ sơ">
    
    <telerik:RadMenuItem.Resources>
        <helper:VisibilityConverter x:Key="BooleanToVisibilityConverter" />
    </telerik:RadMenuItem.Resources>

    <telerik:RadMenuItem Visibility="{Binding Path=IsVisible, Converter={StaticResource BooleanToVisibilityConverter},Mode=TwoWay}"
        x:Name="menuItemHoSoCanNop" Header="Quản lý hồ sơ cần nộp" Command="{Binding ShowHoSoCanNopViewCommand}">
        <telerik:RadMenuItem.Icon>
            <Image Source="../Images/Menu/1folder.png" Stretch="None"/>
        </telerik:RadMenuItem.Icon>
    </telerik:RadMenuItem>
    <telerik:RadMenuItem Visibility="{Binding Path=IsVisible, Converter={StaticResource BooleanToVisibilityConverter},Mode=TwoWay}"
        x:Name="menuItemPhienGiaoNhan" Header="Quản lý phiên giao nhận" Command="{Binding ShowPhienGiaoNhanViewCommand}">
        <telerik:RadMenuItem.Icon>
            <Image Source="../Images/Menu/1folder.png" Stretch="None"/>
        </telerik:RadMenuItem.Icon>
    </telerik:RadMenuItem>
    <telerik:RadMenuItem Visibility="{Binding Path=IsVisible, Converter={StaticResource BooleanToVisibilityConverter}, Mode=TwoWay}"
        x:Name="menuItemGanHoSo" Header="Gán hồ sơ cần nộp cho khoa" Command="{Binding ShowGanHoSoViewCommand}">
        <telerik:RadMenuItem.Icon>
            <Image Source="../Images/Menu/1folder.png" Stretch="None"/>
        </telerik:RadMenuItem.Icon>
    </telerik:RadMenuItem>
</telerik:RadMenuItem>